package com.dpteam.bean;

/**
 * Created with IntelliJ IDEA.
 * User: luolei
 * Date: 2016/1/11
 * Time: 19:13
 */
public class sellProductInfo {

    private int productId;

    private float setPrice;

    private String productName;

    public sellProductInfo() {
    }

    public sellProductInfo(int productId, float setPrice, String productName) {
        this.productId = productId;
        this.setPrice = setPrice;
        this.productName = productName;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder("{");
        //Number类
        sb.append("'productId':").append(productId).append(",");
        sb.append("'setPrice':").append(setPrice).append(",");
        //String
        sb.append("'productName':'").append(productName).append("'}");
        return sb.toString();
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public float getSetPrice() {
        return setPrice;
    }

    public void setSetPrice(float setPrice) {
        this.setPrice = setPrice;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }
}
